const headConfig = require("./config/headConfig");
const navConfig = require("./config/navConfig");
const blogConfig = require("./config/blogConfig");
const pluginsConfig = require("./config/pluginsConfig");
const sidebarConfig = require("./config/sidebarConfig");
const linkConfig = require("./config/linkConfig");
const autoNavConfig = require("./nav");

module.exports = {
  "base": "/blog/",
  "title": "FANTASY",
  "description": "BLOG",
  "dest": "public",
  "head": headConfig,
  "theme": "reco",
  "themeConfig": {
    "mode": 'dark',
    "subSidebar": "auto",
    "logo": '/assets/img/logo.png',
    // "nav": navConfig,
    "nav": [...navConfig, ...autoNavConfig],
    // 使用了自动生成侧边栏和导航栏的插件，不需要配置sidebar
    // "sidebar": sidebarConfig,
    "type": "blog",
    // "blogConfig": blogConfig,
    vssueConfig: {
      platform: 'github-v4',
      owner: 'zhangliangfantasy',
      repo: 'blog',
      clientId: '2af3d03ee680c545f20c',
      clientSecret: '57f7b6ca8a7c702ee1f8c49fd8c06eb9a3c5d748',
      autoCreateIssue: true
    },
    author: 'fantasy'
  },
  "friendLink": linkConfig,
  "logo": "/logo.png",
  "search": true,
  "searchMaxSuggestions": 10,
  "lastUpdated": "Last Updated",
  "author": "FANTASY",
  "authorAvatar": "/avatar.png",
  "record": "xxxx",
  "startYear": "2017",
  "markdown": {
    "lineNumbers": true
  },
  "plugins": pluginsConfig
}